package com.zn.web.vo;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by yinjiawei on 2018/7/28.
 */
public class OpenOrderVo {
    /**客户ID**/
    private String customerId;
    /**开仓报单引用**/
    private String orderRef;
    /**合约Code**/
    private String instrumentCode;
    /**合约名称**/
    private String instrumentName;
    /**开平标志 0-开仓 1-平仓**/
    private String offsetFlag;
    /**买卖方向 0-买 1-卖**/
    private String direction;
    /**总仓**/
    private BigDecimal sumVolume;
    /**总保证金**/
    private BigDecimal sumMargin;
    /**总手续费**/
    private BigDecimal sumOpenFee;
    /**总持仓**/
    private BigDecimal sumHoldVolume;
    /**总可用手数**/
    private BigDecimal sumEffectiveHoldVolume;
    /**总市值 用于计算持仓均价**/
    private BigDecimal sumMarkeValue;
    /**商品Code**/
    private String productCode;
    /**合约乘数**/
    private Integer contractMultiplier;
    /**最新价**/
    private String lastPrice;
    ///申买价一
    private String bidPrice1;
    ///申卖价一
    private String askPrice1;

    private String createTime;
    /**止损跳数**/
    private BigDecimal stopLossPoint;
    /**止盈跳数**/
    private BigDecimal targetProfitPoint;

    private BigDecimal minWavePoint;

    private String instrumentExpireDay;

    private String tradingGoodsCode;

    private String instrumentMonth;

    public OpenOrderVo(String customerId) {
    }

    public OpenOrderVo(String customerId, String orderRef, String instrumentCode, String instrumentName, String offsetFlag, String direction, BigDecimal sumVolume, BigDecimal sumMargin, BigDecimal sumOpenFee, BigDecimal sumHoldVolume, BigDecimal sumEffectiveHoldVolume,
                       BigDecimal sumMarkeValue,String productCode,String createTime,BigDecimal stopLossPoint,BigDecimal targetProfitPoint,BigDecimal minWavePoint) {
        this.customerId = customerId;
        this.orderRef = orderRef;
        this.instrumentCode = instrumentCode;
        this.instrumentName = instrumentName;
        this.offsetFlag = offsetFlag;
        this.direction = direction;
        this.sumVolume = sumVolume;
        this.sumMargin = sumMargin;
        this.sumOpenFee = sumOpenFee;
        this.sumHoldVolume = sumHoldVolume;
        this.sumEffectiveHoldVolume = sumEffectiveHoldVolume;
        this.sumMarkeValue = sumMarkeValue;
        this.productCode=productCode;
        this.createTime=createTime;
        this.stopLossPoint=stopLossPoint;
        this.targetProfitPoint=targetProfitPoint;
        this.minWavePoint=minWavePoint;
    }

    public String getCustomerId() {
        return customerId;
    }

    public void setCustomerId(String customerId) {
        this.customerId = customerId;
    }

    public String getOrderRef() {
        return orderRef;
    }

    public void setOrderRef(String orderRef) {
        this.orderRef = orderRef;
    }

    public String getInstrumentCode() {
        return instrumentCode;
    }

    public void setInstrumentCode(String instrumentCode) {
        this.instrumentCode = instrumentCode;
    }

    public String getInstrumentName() {
        return instrumentName;
    }

    public void setInstrumentName(String instrumentName) {
        this.instrumentName = instrumentName;
    }

    public String getOffsetFlag() {
        return offsetFlag;
    }

    public void setOffsetFlag(String offsetFlag) {
        this.offsetFlag = offsetFlag;
    }

    public String getDirection() {
        return direction;
    }

    public void setDirection(String direction) {
        this.direction = direction;
    }

    public BigDecimal getSumVolume() {
        return sumVolume;
    }

    public void setSumVolume(BigDecimal sumVolume) {
        this.sumVolume = sumVolume;
    }

    public BigDecimal getSumMargin() {
        return sumMargin;
    }

    public void setSumMargin(BigDecimal sumMargin) {
        this.sumMargin = sumMargin;
    }

    public BigDecimal getSumOpenFee() {
        return sumOpenFee;
    }

    public void setSumOpenFee(BigDecimal sumOpenFee) {
        this.sumOpenFee = sumOpenFee;
    }

    public BigDecimal getSumHoldVolume() {
        return sumHoldVolume;
    }

    public void setSumHoldVolume(BigDecimal sumHoldVolume) {
        this.sumHoldVolume = sumHoldVolume;
    }

    public BigDecimal getSumEffectiveHoldVolume() {
        return sumEffectiveHoldVolume;
    }

    public void setSumEffectiveHoldVolume(BigDecimal sumEffectiveHoldVolume) {
        this.sumEffectiveHoldVolume = sumEffectiveHoldVolume;
    }

    public BigDecimal getSumMarkeValue() {
        return sumMarkeValue;
    }

    public void setSumMarkeValue(BigDecimal sumMarkeValue) {
        this.sumMarkeValue = sumMarkeValue;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public Integer getContractMultiplier() {
        return contractMultiplier;
    }

    public void setContractMultiplier(Integer contractMultiplier) {
        this.contractMultiplier = contractMultiplier;
    }

    public String getLastPrice() {
        return lastPrice;
    }

    public void setLastPrice(String lastPrice) {
        this.lastPrice = lastPrice;
    }

    public String getBidPrice1() {
        return bidPrice1;
    }

    public void setBidPrice1(String bidPrice1) {
        this.bidPrice1 = bidPrice1;
    }

    public String getAskPrice1() {
        return askPrice1;
    }

    public void setAskPrice1(String askPrice1) {
        this.askPrice1 = askPrice1;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public BigDecimal getStopLossPoint() {
        return stopLossPoint;
    }

    public void setStopLossPoint(BigDecimal stopLossPoint) {
        this.stopLossPoint = stopLossPoint;
    }

    public BigDecimal getTargetProfitPoint() {
        return targetProfitPoint;
    }

    public void setTargetProfitPoint(BigDecimal targetProfitPoint) {
        this.targetProfitPoint = targetProfitPoint;
    }

    public BigDecimal getMinWavePoint() {
        return minWavePoint;
    }

    public void setMinWavePoint(BigDecimal minWavePoint) {
        this.minWavePoint = minWavePoint;
    }

    public String getInstrumentExpireDay() {
        return instrumentExpireDay;
    }

    public void setInstrumentExpireDay(String instrumentExpireDay) {
        this.instrumentExpireDay = instrumentExpireDay;
    }

    public String getTradingGoodsCode() {
        return tradingGoodsCode;
    }

    public void setTradingGoodsCode(String tradingGoodsCode) {
        this.tradingGoodsCode = tradingGoodsCode;
    }

    public String getInstrumentMonth() {
        return instrumentMonth;
    }

    public void setInstrumentMonth(String instrumentMonth) {
        this.instrumentMonth = instrumentMonth;
    }
}
